package de.hwr.sudokuspielehr.exception;

/**
 * 
 * @author J. Reischauer
 * 
 */
@SuppressWarnings("serial")
public class UnknownSyntaxException extends Exception {

	/**
	 * Error message.
	 */
	public String message;

	/**
	 * Constructor of UnknownSyntaxException.
	 * 
	 * @param pMessage
	 *            error message
	 */
	public UnknownSyntaxException(String pMessage) {
		message = "Unknown syntax: " + pMessage;
	}

	@Override
	public String getMessage() {
		return message;
	}
}
